import 'package:flutter/material.dart';

class WeatherBean {
  String date;

  String type;
  int average;
  int min;
  int max;
  int color;

  WeatherBean(
      this.date, this.type, this.average, this.min, this.max, this.color);

  static List<WeatherBean> getDefaultDateData() {
    return <WeatherBean>[
      WeatherBean("Monday", "images/sun.png", 28, 22, 30, 0xFF28E0AE),
      WeatherBean("Tuesday", "images/mine_cloud.png", 22, 20, 25, 0xFFFF0090),
      WeatherBean("Wednesday", "images/mine.png", 18, 11, 19, 0xFFFFAE00),
      WeatherBean("Thursday", "images/rain.png", 30, 27, 31, 0xFF0090FF),
      WeatherBean("Friday", "images/sun.png", 24, 21, 29, 0xFFDC0000),
      WeatherBean("Saturday", "images/wind.png", 23, 22, 28, 0xFF0051FF),
      WeatherBean("Sunday", "images/mine_cloud.png", 26, 21, 31, 0xFF6789AE),
    ];
  }


  static List<WeatherBean> getDefaultTimeData() {
    return <WeatherBean>[
      WeatherBean("14:00", "images/sun_2.png", 28, 22, 30, 0xFF28E0AE),
      WeatherBean("15:00", "images/rain_2.png", 22, 20, 25, 0xFFFF0090),
      WeatherBean("16:00", "images/wind_2.png", 18, 11, 19, 0xFFFFAE00),
      WeatherBean("17:00", "images/rain_2.png", 30, 27, 31, 0xFF0090FF),
      WeatherBean("18:00", "images/sun_2.png", 24, 21, 29, 0xFFDC0000),
    ];
  }
}
